package com.liuda066.forumssm.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("回复帖子类")
public class ArticleReply {

    @ApiModelProperty("回复帖子ID")
    private Long id;

    @ApiModelProperty("帖子ID")
    private Long articleId;

    @ApiModelProperty("发送用户ID")
    private Long postUserId;

    @ApiModelProperty("回复ID")
    private Long replyId;

    @ApiModelProperty("恢复用户ID")
    private Long replyUserId;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("点赞数")
    private Integer likeCount;

    @ApiModelProperty("状态 0 正常  1 禁言")
    private Byte state;

    @ApiModelProperty("删除状态  0 正常 1 删除")
    private Byte deleteState;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
    // 关联用户对象
    @ApiModelProperty("关联用户对象")
    private User user;
}